package com.hjp.designmode.state;

/**
 * @Description:
 * @Author: huangjp6
 * @Date: 2022/3/17 14:39
 */
public class StartState implements State {
    public void doAction(Context context) {
        System.out.println("Player is in start state");
        context.setState(this);
    }

    public String toString() {
        return "Start State";
    }
}